<form action="<?php echo $PHP_SELF; ?>" method="POST">
<h3>New Post</h3>
<input type="hidden" name="id" value="<?php echo $c->news->id; ?>"/>
<table id="data">
<tr><th>Title:</th><td><input type="text" size="30" name="title" value="<?php echo $c->news->title; ?>" /></td></tr>
<tr><th>Link:</th><td><input type="text" size="30" name="web_link" value="<?php echo $c->news->web_link; ?>" /></td></tr>
<tr><th>Visibility:</th><td><?php echo dropdown("visibility", $c->news->visibility); ?></td></tr>
<tr><th>Info:</th><td><textarea rows="15" cols="80" name="item"><?php echo $c->news->item; ?></textarea></td></tr>
<tr><th>Tags:<br/><small>(seperated by spaces)</small></th><td><input type="text" size="30" name="tags" value="<?php echo $c->tags; ?>" /></td></tr>
<tr><td>&nbsp;</td><td><input type="submit" name="action" value="Save" /><input type="submit" name="action" value="Cancel" /></td></tr>
</table>
<input type="hidden" name="create_date" value="<?php echo $c->news->create_date; ?>" />
</form>
